package org.jeecg.common.util.pay.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Description 订单payVO
 * @Author Van.Planifolia
 * @Date 2023/12/1
 * @Version 1.0
 */
@Data
@Accessors(chain = true)
public class CcWxPayOrderVO {
    @ApiModelProperty("订单号")
    @NotEmpty(message = "订单号不得为空")
    private String orderNo;
    @ApiModelProperty("客户信息")
    @NotEmpty(message = "客户信息不得为空")
    private String memberId;
    @ApiModelProperty("支付金额")
    @NotNull(message = "支付金额不得为空")
    private BigDecimal payAmount;
    @ApiModelProperty("微信OpenId")
    @NotNull(message = "微信OpenId不得为空！")
    private String openId;

}
